import request from '@/http/request'
// 商户数据对比
// 商户数据对比
export const API_MCHINFO_COMPARE = '/api/mchInfo/compare'

export const $apiMchInfoCompare = ( data) => {
  return request.request({ url: '/api/mchInfo/compare', method: 'POST', data: data }, true, true, true)
}

/* 获取请求参数 */
export function $getUploadFormParams (file, bizType) {  
    return request.request({
      url: '/api/ossFiles/form',
      method: 'post',
      data: { bizType : bizType, sourceFileName: file.name, sourceFileSize: file.size }
    })
  }


// 数据解密

// 重置商户号
export const $apiFansGetFansMchInfo =  ( data) => {
  return request.request({ url: '/api/fans/getFansMchInfo', method: 'POST', data: data }, true, true, false)
}

// 数据匹配

// 发放福分
export const $apiSendScoreByFile =  ( data) => {
  return request.request({
    url: '/api/activity/disposableImport',
    method: 'POST',
    data: data
  })
}